<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <link href="/templates/hd/assets/css/iziModal.min.css" rel="stylesheet" type="text/css">
    <script src="/templates/hd/assets/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
    <script src="/templates/hd/assets/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
    <script src="/templates/hd/assets/js/iziModal.min.js"></script>
    <title>Document</title>
</head>
<body>

    <div id="applyFor" style="text-align: center; width: 500px; margin: 100px auto;font-size: 20px;font-weight: bold;font-family: '微软雅黑';">{{$message}},将在
        <span class="loginTime" style="color: red">{{$jumpTime}}
        </span>秒后跳转至<a href="{{route($url)}}" style="color: red">{{$name}}
        </a>页面
    </div>

</body>
<script>
    $(function(){
        var url = "{{$url}}"
        var loginTime = parseInt($('.loginTime').text());
        var time = setInterval(function(){
            loginTime = loginTime-1;
            $('.loginTime').text(loginTime);
            if(loginTime==0){
                clearInterval(time);
                window.location.href=url;
            }
        },1000);
    })
</script>
</html>



